package com.ruoyi.classai.domain;

    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;

/**
 * 考勤记录对象 ewc_attendance_records
 *
 * @author lcj
 * @date 2025-02-28
 */
@Data
@TableName("ewc_attendance_records")
@Schema(description="考勤记录对象ewc_attendance_records")
public class EwcAttendanceRecords implements Serializable{

private static final long serialVersionUID = 1L;


    /** 考勤记录ID */
    @Schema(description  = "考勤记录ID")
    private String id;

    /** 学生ID */
    @Excel(name = "学生ID")
    @Schema(description  = "学生ID")
    private String studentId;

    /** 班级ID */
    @Excel(name = "班级ID")
    @Schema(description  = "班级ID")
    private String classId;

    /** 课程ID */
    @Excel(name = "课程ID")
    @Schema(description  = "课程ID")
    private String courseId;

    /** 章节id */
    @Excel(name = "章节id")
    @Schema(description  = "章节id")
    private String chapterId;

    /** 考勤日期 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "考勤日期", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description  = "考勤日期")
    private Date attendanceDate;

    /** 考勤状态 */
    @Excel(name = "考勤状态")
    @Schema(description  = "考勤状态")
    private Integer attendanceStatus;



}
